package com.wn.sddfp.system.controller;


import com.wn.sddfp.common.model.dto.UserRegisterDto;
import com.wn.sddfp.common.result.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;

/**
 * <p>
 * 用户表 前端控制器
 * </p>
 *
 * @author yellow docker
 * @since 2025-02-14
 */
@RestController
@RequestMapping("/user")
public class UserController {

    /**
     * 用户注册
     */
    @PostMapping("/regist")
    public Result regist(@RequestBody @Valid UserRegisterDto userRegisterDto){
        return Result.ok();
    }

}
